package com.woniuxy.microsysserver.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class AdminInfo implements Serializable {

  private Integer id;
  private String loginName;
  private String adminName;
  private DepartmentInfo departmentInfo;
  private RoleInfo roleInfo;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date createTime;
  private Byte state;
  private String phone;
  private String password;
  private String img;


}
